Notes on Thread Models in Mach 3.0

نویسندگان

  • Bryan Ford
  • Mike Hibler
  • Jay Lepreau
چکیده

During the Mach In-Kernel Servers work, we explored two alternate thread models that could be used to support traps to in-kernel servers. In the "migrating threads" model we used, the client's thread temporarily moves into the server's task for the duration of the call. In the "thread switching" model, an actual server thread is dispatched to handle client traps. Based on our experience, we find that the migrating threads model is quite complex and difficult to implement in the context of the current design of Mach and the Unix single server. The thread switching model would fit more naturally and would probably be much simpler and more robust than migrating threads, making it a valuable approach to explore in the near future. However, we believe migrating threads inherently to be faster than thread switching, and ultimately to be the best long term direction. 1 lThis research was sponsored by the Hewlett-Packard Research Grants Program.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Notes on Thread Models in Mach

During the Mach In Kernel Servers work we explored two alternate thread models that could be used to support traps to in kernel servers In the migrating threads model we used the client s thread temporarily moves into the server s task for the duration of the call In the thread switching model an actual server thread is dispatched to handle client traps Based on our experience we nd that the mi...

متن کامل

Fast Mutual Exclusion for Uniprocessors Brian

In this paper we describe restartable atomic sequences, an optimistic mechanism for implementing simple atomic operations (such as Test-And-Set) on a uniprocessor. A thread that is suspended within a restartable atomic sequence is resumed by the operating system at the beginning of the sequence, rather than at the point of suspension. This guarantees that the thread eventually executes the sequ...

متن کامل

The Enhancement of a User-level Thread Package Scheduling on Multiprocessors

Parallel applications on multiprocessors achieve better performance when they run on simpler microkernel scheduling mechanisms with appropriated user level scheduling policies. Our purpose is to offer to application programmers a set of new and simple primitives to get more control over the user-level thread scheduling. This paper presents a new library scheduling approach, based in the CThread...

متن کامل

Evolving Mach 3.0 to A Migrating Thread Model

We have modi ed Mach 3.0 to treat cross-domain remote procedure call (RPC) as a single entity, instead of a sequence of message passing operations. With RPC thus elevated, we improved the transfer of control during RPC by changing the thread model. Like most operating systems, Mach views threads as statically associated with a single task, with two threads involved in an RPC. An alternate model...

متن کامل

A Practical Study on Locking and Reference Counting in the Mach 3.0 Kernel

Mach is a multiprocessor multithreaded operating system. This implies that several threads try to access and modify the same data at the same time. It is necessary to avoid consistency problems without performance bottlenecks. In this paper we describe the use of coordination techniques when accessing some of the data structures used in the Mach Kernel to represent the different abstractions. T...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993